docker run -p 14384:14384 -p 15384:15384 ^
REM application.yml配置文件可选择挂载 如果 nginx的容器名称不是默认的”nginx“
REM -v /etc/api-gateway-center/conf/application.yml:/etc/gateway/conf/application.yml
REM nginx配置文件必须挂载到 容器的/etc/nginx/conf/nginx.conf下
-v /etc/nginx/conf/nginx.conf:/etc/nginx/conf/nginx.conf ^
REM 必须挂载 /var/run/docker.sock 否则容器内部的应用程序无法通过JAVA Docker客户端连接Docker
-v /var/run/docker.sock:/var/run/docker.sock ^
--name api-gateway-center ^
CP4-LISTEN:14384,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock ^
TCP4-LISTEN:14384,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock ^
-d api-gateway-center:1.0


